package com.sh.rbac.core.encrypt.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 加密属性
 *
 * @author wb
 * @since 2025-10-20
 */

@Data
@Component
@ConfigurationProperties(prefix = "encrypt")
public class EncryptProperties {

    /**
     * 接口加密属性
     */
    @Autowired
    private ApiEncryptProperties apiEncrypt;

    /**
     * 字段加密属性
     */
    @Autowired
    private FieldEncryptProperties fieldEncrypt;

}
